package com.iwhalecloud.uncc.common;

import java.util.ResourceBundle;

public class Event {

    public static class EVENT_CODE{
        private static final ResourceBundle res = ResourceBundle.getBundle("event");
        public static String getValue(String key) {
            return res.getString(key);
        }
    }

    public static class EVENT_LEVEL{
        public static final int GENERAL = 0;
        public static final int IMPORTANT = 1;
        public static final int FATAL = 2;
    }

    public static class EVENT_TYPE {
        public static final int BUSI = 0;
        public static final int IT = 1;

    }

    public static class EVENT_STATE{
        public static final String INITIAL = "10I";
        public static final String CONFIRMED = "10C";
        public static final String FINISHED = "10F";
        public static final String IGNORED = "10G";
        public static final String TRANSFERED = "10T";

    }

    public static class OBJECT_TYPE{
        public static final int TASK_BATCH = 0;
        public static final int TASK = 1;
        public static final int TACHE = 2;
        public static final int SERVICE = 3;
        public static final int API = 4;
    }
}
